<template>
    <TabBar>
      <TabBarItem path="/home" styleColor="blue">
        <img slot="item-img" src="~assets/img/love.svg" alt="" />
        <img slot="item-img-active" src="~assets/img/love-active.svg" alt="" />
        <div slot="item-text">首页</div>
      </TabBarItem>
      <TabBarItem path="/category">
        <img slot="item-img" src="~assets/img/universe.svg" alt="" />
        <img
          slot="item-img-active"
          src="~assets/img/universe-active.svg"
          alt=""
        />
        <div slot="item-text">分类</div>
      </TabBarItem>
      <TabBarItem path="/cart" styleColor="blue">
        <img slot="item-img" src="~assets/img/ice.svg" alt="" />
        <img slot="item-img-active" src="~assets/img/ice-active.svg" alt="" />
        <div slot="item-text">购物车</div>
      </TabBarItem>
      <TabBarItem path="/profile">
        <img slot="item-img" src="~assets/img/bong.svg" alt="" />
        <img slot="item-img-active" src="~assets/img/bong-active.svg" alt="" />
        <div slot="item-text">我的</div>
      </TabBarItem>
    </TabBar>
</template>

<script>
import TabBar from "components/common/tabbar/Tabbar.vue";
import TabBarItem from "components/common/tabbar/TabbarItem";
export default {
  name:'MainTabbar',
  components:{
    TabBar,
    TabBarItem
  }
}
</script>

<style>

</style>